<template>
  <div>
    <input id="file" type="file">
    <button @click="getFileObj()">读取上传文件</button>
  </div>
</template>

<script>
import jquery from 'jquery'
export default {
  methods: {
    getFileObj () {
      // let dom = document.getElementById('file')
      console.log(jquery('#file'))
      // jquery('#file')
    }
  }
}
</script>
